(function(){var templateCache = window.$templateCache||Ares.templateCache;templateCache.put('/app/framework/views/about-view.html','<div>    <h1>This is about page</h1></div>');templateCache.put('/app/framework/views/app-side-bar.html','<ul class="nav nav-sidebar">    <style scoped>        .nav.nav-sidebar .nav-sidebar-item-new-badge:before {            content: \' \';            position: absolute;            width: 0;            height: 0;            border-style: solid;            border-width: 36px 36px 0 0;            border-color: #f7a51d transparent transparent transparent;        }        .nav.nav-sidebar .nav-sidebar-item-new-badge:after {            content: \'新\';            color: #fff;            position: absolute;            top: 1px;            left: 3px;            font-size: 13px;        }       .nav.nav-sidebar .nav-sidebar-subitem-new-badge:before {            content: \' \';            position: fixed;            width: 0;            height: 34px;            border-style: solid;            border-width: 34px 34px 0 0;            border-color: #f7a51d transparent transparent transparent;            left: 0px;            top: auto;            line-height: 34px;            top: left;        }        .nav.nav-sidebar .nav-sidebar-subitem-new-badge {            padding:0px        }        .nav.nav-sidebar .nav-sidebar-subitem-new-badge:after {            content: \'新\';            color: #fff;            position: absolute;            left: 3px;            font-size: 10px;        }        .nav.nav-sidebar .nav-sidebar-item-corner-badge-img {            position: absolute;            width: 36px;            height: 36px;            top: 0;            left: 0;        }        .sidebar .sidebar-inner .nav-sidebar .children > li.active div {            color: white !important;            background-color: #00a8cb;            color: #FFFFFF !important;        }           .sidebar .sidebar-inner .nav-sidebar .children > li:not(.active)   a:hover {            background-color: #2e4050;            color: #FFFFFF !important;        }    </style>    <li class="nav-parent" ng-class="{\'nav-active active\' : navItem.isActive}"        ng-if="navItem.isVisible" ng-repeat="navItem in navItems">        <a ng-style="{\'color\':navItem.isActive?\'#FFFFF\':\'#AAB0C0\',\'background-color\':navItem.isActive && (navItem.text == \'患者中心\'|| navItem.text == \'今日工作\'|| navItem.text == \'SCRM\' || navItem.text == \'交易平台\'||navItem.text == \'住院管理\')?\'#00A8CB\':(navItem.isActive?\'#1B2A37\':\'#2E4050\')}"            href="" ng-click="refreshView(navItem)"            ng-class="{\'nav-sidebar-item-new-badge\' : (navItem.text === \'进销存\' && showInventoryNewBadge) || navItem.text === \'开放平台\', \'nav-sidebar-item-mallcenter\' : navItem.text === \'商城\'}">            <img src="/Content/imgs/inventory/coupon-corner-badge.png" ng-if="navItem.text === \'商城\'"                class="nav-sidebar-item-corner-badge-img" alt="">            <i class="{{navItem.className}}"></i>            <span>{{navItem.text}}</span>            <span ng-if="navItem.hasVisibleSubItem" class="fa arrow"></span>        </a>        <ul class="children collapse" ng-show="navItem.hasVisibleSubItem">            <li style="background-color: #1B2A37; border-top: solid 1px #334658;" ng-class="{\'active\' : checkActive(subItem, navItem)}"                ng-show="subItem.isVisible"                ng-repeat="subItem in navItem.allowedSubItems">                <a style="text-align: center;" href="" ng-click="navigate(subItem)" ng-show="subItem.text != \'新财务对账\' && subItem.text != \'新绩效管理\' ">{{subItem.text|toMenuAbbr}}                </a>                <a style="text-align: center; color: #D6D6D6; font-size: 14px !important; text-decoration: none; vertical-align: middle; padding: 0px;" href="" ng-click="navigate(subItem)" ng-show="subItem.text == \'新财务对账\' || subItem.text == \'新绩效管理\'"  ng-class="{\'nav-sidebar-subitem-new-badge\':subItem.text == \'新财务对账\' || subItem.text == \'新绩效管理\'}">                    <span style="line-height: 34px"></span>{{subItem.text|toMenuAbbr}} </a> </li>        </ul>    </li></ul>');templateCache.put('/app/framework/views/app-top-bar.html','<div class="topbar">    <style scoped>        .list-ul {            width: 100%;            list-style-type: none;        }        .list-item {            opacity: 0.89;            background: #00afc8;            border-radius: 4px;            margin-bottom: 2px;            line-height: 121px;        }        .message-item {            height: 100%;            width: 100%;        }            .message-item td {                color: white;                line-height: 36px;                text-align: left;            }                .message-item td a {                    color: white;                }        .list-ul-bell {            opacity: 0.89;            background: #3d3d3d;            width: 400px;            height: 40px;            list-style-type: none;        }        .popover {            max-width: 700px;            min-height: 170px;            /*top: 21px !important;            border: 1px solid black !important;            border-radius: 0px !important;*/            /*top: 10px !important;*/        }        .wechat > div > a {            text-align: center;            display: inline-block;            width: 30px;            height: 30px;            border-radius: 50%;            text-decoration: none;            border: 1px solid #fff;        }            .wechat > div > a > i {                line-height: 30px;                font-size: 20px;                color: #fff;            }        .green-bg {            line-height: 28px !important;            height: 30px !important;            padding: 0px !important;            width: 30px;            border: 1px solid #fff;            border-radius: 50%;            background: #2cc87e;        }        .topbar .header-right .navbar-nav > li > a.green-bg:hover,        .topbar .header-right .navbar-nav > li > a.green-bg:focus {            background: #2cc87e !important;        }        #online-consult {            cursor: pointer;            line-height: 28px !important;            height: 30px !important;            width: 60px !important;            padding: 0;            text-align: center;        }        .topbar .topnav table tr td a.show-credits-count:focus {            text-decoration: none !important;        }        .identityInfo .btn-identity-info2 {            margin-right: 10px;            margin-top: 1px;            height: 34px;        }        .topbar .patient-search-container .global-search-box {            width: 150px !important;        }        .topbar .patient-search-container .input-group {            width: 150px !important;        }        @media screen and (max-width: 1200px) {            .topbar .hide-on-narrow-screen {                display: none !important;            }        }        .topbar .top-bar-expiration-hint,        .topbar .top-bar-upgrade-hint {            background: #FF6F41;            color: #fff;            height: 40px;            width: calc(100% - 96px);            line-height: 40px;            font-size: 14px;            padding-left: 16px;            position: fixed;            top: 50px;            left: 96px;        }        .topbar .top-bar-upgrade-hint {            background: #F7A51D;        }            .topbar .top-bar-expiration-hint .btn,            .topbar .top-bar-upgrade-hint .btn {                margin-left: 20px;                color: #FF6F41;            }            .topbar .top-bar-expiration-hint .close-btn,            .topbar .top-bar-upgrade-hint .close-btn {                position: absolute;                display: inline-block;                right: 12px;                cursor: pointer;            }            .topbar .top-bar-upgrade-hint .close-forever {                position: absolute;                display: inline-block;                right: 38px;                cursor: pointer;            }        #yibao-channel-select {            height: 32px;            width: 90px;            border-color: #e4e5e7 !important;            border-radius: 4px;        }    </style>    <table style="width:100%">        <tr>            <td style="min-width: 200px; width: 15%">                <div class="header-left">                    <div class="topnav">                        <!--<a class="menutoggle" href="" data-toggle="sidebar-collapsed" onclick="collapsedSidebar()"><span class="menu__handle"><span>Menu</span></span></a>-->                        <table style="height:50px;">                            <tr>                                <td>                                    <div ng-if="currentOffice.pictureId">                                        <ares-picture-view picture-id="{{currentOffice.pictureId}}" height="50"                                                           width="0" no-border="true"></ares-picture-view>                                    </div>                                </td>                                <td style="white-space:nowrap;padding-left:2px;" ng-if="!isAdminOffice" class="user-header office-name">                                    <div style="font-size: 16px;font-weight: bolder;margin-top:-2px;margin-left:5px;display: inline-block;">                                        {{officeName}}                                        <span style="margin-left:5px;margin-right:5px;" ng-if="isShowRemainedTrialDays||!isGroup">|</span>                                    </div>                                    <div style="margin-top:-4px;display: inline-block;" ng-if="isShowRemainedTrialDays">                                        <span style="color:red;font-size:x-small;font-weight:bold;">                                            试用账号,剩余试用期限：{{remainedTrialDays}}天                                        </span>                                    </div>                                </td>                                <td style="font-size: 16px;font-weight: bolder;" ng-if="isAdminOffice">                                    <span style="padding-left:5px;">集团总部</span>                                </td>                                <td style="padding-left: 2px;">                                    <a ng-click="goToEnterpriseCenter()" ng-if="!isGroup"                                       style="display: inline-block; min-width: 90px;">                                        <i class="iconfont icon-enterprise"></i>                                       <!--  诊所概览 -->                                   </a>                                </td>                                <td style="padding-left:2px;" ng-if="false">                                    <a href="javascript:;" class="show-credits-count"                                       style="cursor: pointer; font-size: 14px; font-weight: bolder; min-width: 120px;display:block;"                                       ng-show="isShowPointLink"                                       ng-style="{\'color\':isPointBoardOpened?\'#00a8cb\':\'#666a73\'}"                                       ng-click="goToCredits()" sensors-enabled="true" sensors-event-name="AppSideBar"                                       sensors-event-type="诊所积分" ng-mouseenter="openPointBoard($event)"                                       ng-mouseleave="onMouseLeave($event)"                                       ng-if="isCustomizeOpen&&extension.isShowOfficePoint||!isCustomizeOpen">                                        <span style="color:#00a6c9;border-bottom:1px solid #00a6c9;">                                            积分 {{officePoint}}                                        </span>                                    </a>                                    <div ng-show="!isShowPointLink" class="show-credits-count"                                         style="font-size: 14px; font-weight: bolder; min-width: 120px;display:block;"                                         ng-style="{\'color\':isPointBoardOpened?\'#00a8cb\':\'#666a73\'}"                                         ng-mouseenter="openPointBoard($event)" ng-mouseleave="onMouseLeave($event)"                                         ng-if="isCustomizeOpen&&extension.isShowOfficePoint||!isCustomizeOpen">                                        <span style="color:#5B5B5B;">                                            积分 {{officePoint}}                                        </span>                                    </div>                                </td>                            </tr>                        </table>                    </div>                </div>            </td>            <td style="min-width:550px; width: 85%">                <div class="header-right" ng-if="isInitialized" style="height: 50px; min-width: 550px;">                    <ul class="header-menu nav navbar-nav" style="float:right !important;width:100%;">                        <li class="dropdown auto-dropdown user-header user" id="user-header">                            <a href="" data-toggle="dropdown" data-hover="dropdown" data-close-others="true"                               aria-expanded="false" style="padding-left: 0; padding-right: 0;">                                <img src="/app-resource/images/user-mini.png" alt="user image">                                <span class="username"                                      ng-class="{\'ares-ghost\':login.isGhost}">{{::login.userName}}</span>                            </a>                            <ul class="dropdown-menu" style="margin-top:-10px;">                                <li>                                    <a href="" ng-click="switchOffice()" ng-show="canSwitchOffice">                                        <i class="icon-shuffle"></i><span>切换诊所</span>                                    </a>                                </li>                                <li>                                    <a href="" ng-click="changePwd()"><i class="icon-lock"></i><span>修改密码</span></a>                                </li>                                <li>                                    <a href="" ng-click="systemTool()">                                        <i class="icon-settings"></i><span>系统工具</span>                                    </a>                                </li>                                <!--<li><a href="http://community.linkedcare.cn " target="_blank"><i class="icon-note"></i><span>我要吐槽</span></a></li>-->                                <li><a href="" ng-click="switchNewVersion()"><i class="iconfont icon-shengjidaoxinban" style="font-size: 13px;margin-top: 2px;"></i><span>体验新版本</span></a></li>                                <li><a href="" ng-click="logOff()"><i class="icon-logout"></i><span>退出</span></a></li>                            </ul>                        </li>                        <message-view ng-if="!isAdminOffice" class="user-header message"></message-view>                        <li class="hide-on-narrow-screen">                            <a ng-click="linkHelpPage()" target="_blank" data-toggle="tooltip" data-placement="bottom"                               data-container="body" title="帮助文档"                               style="padding-right: 0;padding-left:0px;margin-left:10px;height:33px;color:#6a6a6a"                               sensors-enabled="true" sensors-event-name="AppSideBarController"                               sensors-event-type="打开帮助页面">                                <span style="cursor:pointer;padding-top:1px;">                                    <i class="iconfont icon-bangzhu" style="vertical-align: sub;font-size: 20px;"></i>                                    帮助                                </span>                            </a>                        </li>                        <li style=\'width:60px;height: 30px;margin-top: 10px;\'                            ng-show="!isCustomizeOpen || isCustomizeOpen&&extension.isShowServiceLink"                            class="hide-on-narrow-screen">                            <span data-toggle="tooltip" id=\'online-consult\' data-placement="bottom"                                  data-container="body" title=\'在线客服\' ng-click="onWebchatClick()" sensors-enabled="true"                                  sensors-event-name="AppSideBarController" sensors-event-type="在线咨询">                                <i class="iconfont icon-zaixianzixun"                                   style=\'font-size: 18px;margin-top:0px;margin-left:4px;\'></i>                                客服                            </span>                        </li>                        <li class="dropdown auto-dropdown user-header memo"                            style=\'padding-left:10px;line-height:50px;height:50px;\'                            ng-show="!isCustomizeOpen|| isCustomizeOpen&&extension.isShowServiceLink"                            ares-authorize="memoManagement.record">                            <span href="" id=\'add-memo\' data-toggle="dropdown" data-hover="dropdown"                                  data-close-others="true" aria-expanded="false"                                  style="margin-top: 9px;cursor:pointer;line-height:28px;">                                <i class="iconfont icon-beiwanglu1" style="margin-top: 0;margin-left: 4px;"></i>                                备忘                            </span>                            <ul class="dropdown-menu"                                style="margin-top:-6px;width: 93px !important;min-width: auto;left: 0;margin-left: -20px;min-width: auto !important;">                                <li><a href="" ng-click="editMemoClick()"><span>写备忘</span></a></li>                                <li><a href="" ng-click="memoCenterClick()"><span>备忘中心</span></a></li>                            </ul>                        </li>                        <li ng-show="!isAdminOffice" ares-authorize="scrmMgmt.message" class=\'wechat user-header\'                            style="margin-top:3px;">                            <div id="main-conversation-messageicon" ng-show="$root.scrmChat" style="padding-top:10px;">                                <span ng-click="openMainConversation()" data-toggle="tooltip" data-container="body"                                      data-placement="bottom" title="微信互动" style=\'cursor:pointer\' sensors-enabled="true"                                      sensors-event-name="AppSideBarController" sensors-event-type="微信">                                    <i class=\'iconfont icon-weixin\'></i>                                    微信                                </span>                                <span id="main-conversation-weixin-count" ng-click="openMainConversation()"                                      style="position:relative;left:-20px;top:-10px;background:#ff0000;cursor:pointer;"                                      class="badge item-icon"></span>                            </div>                            <div ng-if="$root.isNewWxEnabled" ng-hide="$root.scrmChat"                                 style="padding-top:10px;cursor:progress;">                                <span href="" data-toggle="tooltip" data-placement="bottom" title="正在加载…"                                      style="cursor:progress;">                                    <i class=\'iconfont icon-weixin\'></i>                                    微信                                </span>                            </div>                        </li>                        <li ng-if="isReadIdentityCardEnabled" class="identityInfo hide-on-narrow-screen">                            <div style="padding-top:7px;">                                <button type="button" class="btn btn-default btn-identity-info2"                                        ng-click="readIdentityInfo()" title="读取身份证信息">                                    <span class="iconfont icon-shenfenzheng"></span>                                </button>                            </div>                        </li>                        <li class="hide-on-narrow-screen">                            <div style="padding-top:9px;" ng-show="yibaoChannelDict.length>1">                                <select ng-options="c.value as c.name for c in yibaoChannelDict"                                        id="yibao-channel-select"                                        ng-change="onSelectYibaoChannel(yibaoUseChannel)" ng-model="yibaoUseChannel"></select>                            </div>                        </li>                        <li class="hide-on-narrow-screen">                            <div style="padding-top:9px;" ng-if="isYibaoGatewayEnabled && isYibaoReadCardEnabled">                                <button type="button" class="btn btn-default"                                        style="margin-right:5px;margin-top:1px;height: 34px;"                                        ng-click="readYibaoCard()" title="读医保卡">                                    <span class="iconfont icon-renlianshibie"></span>                                </button>                            </div>                        </li>                        <li ng-if="isFaceRecognitionEnabled" class="hide-on-narrow-screen">                            <div style="padding-top:7px;">                                <button type="button" class="btn btn-default"                                        style="margin-right:5px;margin-top:1px;height: 34px;"                                        ng-click="recognitionFaceInfo()" title="人脸识别">                                    <span class="iconfont icon-renlianshibie"></span>                                </button>                            </div>                        </li>                        <li class="hide-on-narrow-screen">                            <div style="padding-top:7px;" ng-if="isEnableICCard">                                <button type="button" class="btn btn-default" style="margin-right:20px;margin-top:1px"                                        ng-click="readCard()">                                    读卡                                </button>                            </div>                        </li>                        <li class="user-header search-patient">                            <form class="navbar-form patient-search-container"                                  style="width:160px;padding:0 5px;margin:8px 0">                                <ares-patient-search ares-authorize="patientMgmt.globalSearch" is-global-search="true">                                </ares-patient-search>                            </form>                        </li>                        <li class="user-header new-patient">                            <button type="button" class="btn btn-default center-block"                                    ares-authorize="patientMgmt.create" ng-click="createPatient()"                                    style="margin-top: 8px;padding: 6px;" sensors-enabled="true"                                    sensors-event-name="AppSideBarController" sensors-event-type="新增患者">                                <span class="glyphicon glyphicon-plus-sign" aria-hidden="true"></span> 新增患者                            </button>                        </li>                        <!--<li>                            <a style="color:red;padding-right:0" href="" ng-click="turnOnAliPay()">支付宝系列活动火热开展中！</a>                        </li>-->                    </ul>                </div>                <!--<input type="button" ng-click="test();" />-->                <div id="speeCallDiv" style="display:none;"></div>            </td>        </tr>    </table>    <div style="float: right; " class="container-message" ng-show="!notTrouble" ng-if="!isAdminOffice">        <div style="width: 221px; padding-right: 20px; padding-top: 20px; z-index: 888; postion: absolute;"             ng-show="isShowMessage(messageData)" id="message-notice">            <ul class="list-ul" style="border:1px;border-color:white;">                <li style="width: 100%;" class="list-item" ng-repeat="message in messageData"                    ng-show="message.isShow&&getUnReadCount(message)>0">                    <table class="message-item">                        <tr>                            <td colspan="2">                                <span style="padding-left:23px;">{{message.menuName}}：{{getUnReadCount(message)}}条</span>                            </td>                        </tr>                        <tr>                            <td colspan="2"><span style="padding-left:23px;">{{message.createTimeText}}</span></td>                        </tr>                        <tr ng-if="message.menuName == \'网络预约\'">                            <td style="border-top: 1px solid white; border-right: 1px solid white;text-align:center;">                                <a ng-click="goToNavigate(message)" sensors-enabled="true"                                   sensors-event-name="AppSideBarController" sensors-event-type="立即查看">立即查看</a>                            </td>                            <td style="text-align:center" ng-if="!isApptApplyDisabled">                                <a ng-click="hideThis(message)"                                   sensors-enabled="true" sensors-event-name="AppSideBarController"                                   sensors-event-type="稍后提醒">稍后提醒</a>                            </td>                        </tr>                        <tr ng-if="message.menuName != \'网络预约\'">                            <td style="border-top: 1px solid white; border-right: 1px solid white;text-align:center;">                                <a ng-click="goToNavigate(message)" sensors-enabled="true"                                   sensors-event-name="AppSideBarController" sensors-event-type="立即查看">立即查看</a>                            </td>                            <td style="text-align:center">                                <a ng-click="hideThis(message)" sensors-enabled="true"                                   sensors-event-name="AppSideBarController" sensors-event-type="稍后提醒">稍后提醒</a>                            </td>                        </tr>                    </table>                </li>            </ul>        </div>    </div>    <div class="topbar-draggable-box" id="J_topbar-draggable-box" ng-show="isShowStrongMessage" ng-style="{\'height\': !isShowAppt ? \'44px\' : \'auto\'}">        <style>            .topbar-draggable-box {                position: absolute;                right: 280px;                top: 60px;                width: 112px;                height: auto;                box-sizing: border-box;                background-color: #00a6c9;                border-radius: 6px;            }                .topbar-draggable-box .topbar-draggable-header {                    width: 100%;                    height: 44px;                    border: #00a6c9 solid 1px;                    border-radius: 4px;                    overflow: hidden;                }                    .topbar-draggable-box .topbar-draggable-header .draggable-logo {                        float: left;                        width: 50px;                        height: 44px;                        cursor: move;                        line-height: 44px;                        text-align: center;                    }                .topbar-draggable-box .topbar-draggable-toggle {                    display: inline-block;                    width: calc(100% - 50px);                    height: 42px;                    text-align: center;                    font-size: 12px;                    padding-top: 6px;                }                .topbar-draggable-box .off {                    background-color: #FFFFFF;                    cursor: pointer;                    color: #00a6c9;                }                .topbar-draggable-box .on {                    line-height: 44px;                    color: #fff;                    padding-top: 0;                }                .topbar-draggable-box .topbar-draggable-body {                    padding: 0 6px;                    box-sizing: border-box;                    background-color: #00a6c9;                    width: 100%;                    border-bottom-left-radius: 4px;                    border-bottom-right-radius: 4px;                }                    .topbar-draggable-box .topbar-draggable-body .content {                        background-color: #fff;                        width: 100%;                        border-radius: 5px;                        position: relative;                        font-size: 12px;                        padding: 6px;                    }                        .topbar-draggable-box .topbar-draggable-body .content > div > ul > li .apptContent:hover {                            color: #00a6c9;                            cursor: pointer;                        }                        .topbar-draggable-box .topbar-draggable-body .content .apptContent .apptIcon {                            display: inline-block;                            height: 14px;                            width: 12px;                            background: #ffffad;                            color: #e5b12c;                            font-size: 12px;                            /* line-height: 32px; */                            text-align: center;                        }                        .topbar-draggable-box .topbar-draggable-body .content .apptArrowIcon {                            height: 14px;                            width: 12px;                            color: #00a6c9;                            font-size: 12px;                            text-align: right;                            float: right;                        }                    .topbar-draggable-box .topbar-draggable-body .more {                        cursor: pointer;                        color: #00a6c9;                        width: 100%;                        text-align: center;                        height: 28px;                        line-height: 28px;                        border-top: 1px dotted #ddd;                    }                .topbar-draggable-box .topbar-draggable-off-btn {                    width: 100%;                    cursor: pointer;                    text-align: center;                    color: #fff;                    font-size: 12px;                    padding: 3px 0;                }        </style>        <div class="topbar-draggable-header clearfix">            <div class="draggable-logo">                <img src="/Content/imgs/logo-icon.png" style="width: 34px; height: 34px;" />            </div>            <div class="topbar-draggable-toggle" ng-class="isShowAppt ? \'on\' : \'off\'" ng-click="draggableToggle(\'on\')">                <div>网络预约</div>                <i ng-if="!isShowAppt" class="iconfont icon-zhankaixiangxia" style="font-size: 12px;"></i>            </div>        </div>        <div class="topbar-draggable-body" ng-if="isShowAppt">            <div class="content">                <div ng-if="checkoutRemind && checkoutRemind.length > 0">                    <div style="color: #00A6C9;margin-top: 3px;">核销提醒</div>                    <ul>                        <li ng-repeat="checkout in checkoutRemind track by $index"                            style="border-bottom: 1px dotted #ddd;margin-top: 3px;">                            <div class="apptContent" style="margin-bottom: 3px;" ng-click="goToApptApply(checkout.id, true)">                                {{checkout.content}}                                <span class="apptArrowIcon">></span>                            </div>                        </li>                    </ul>                </div>                <div ng-if="applyRemind && applyRemind.length > 0">                    <div style="color: #00A6C9; margin-top: 3px;">预约提醒</div>                    <ul>                        <li ng-repeat="appt in applyRemind track by $index"                            style="border-bottom: 1px dotted #ddd;margin-top: 3px;">                            <div>                                {{appt.createTime | toMonthAndDayString}}                            </div>                            <div class="apptContent" style="margin-bottom: 3px;" ng-click="goToApptApply(appt.id, false)">                                <span class="apptIcon" ng-if="appt.isOver30m">!</span>                                {{appt.content}}                                <span class="apptArrowIcon">></span>                            </div>                        </li>                    </ul>                </div>                <div class="more" ng-click="goToApptApply()" ng-if="isShowMoreMessage">查看更多</div>            </div>            <div class="topbar-draggable-off-btn" ng-click="draggableToggle(\'off\')">                收起 <i class="iconfont icon-xiangshang" style="font-size: 12px;"></i>            </div>        </div>    </div>    <div class="top-bar-expiration-hint" ng-if="showExpiredHint">        <span class="text">系统将于{{expiredDate}}到期，过期后系统将不能使用。 以免影响正常工作， 请在到期日前及时续费。</span>        <span>需要帮助请咨询您的专属客户成功经理<span ng-if="successConsutant">：{{successConsutant.consultantName}} {{successConsutant.phoneNumer}}</span>。</span>        <button class="btn btn-default"                ng-click="openBmsSaasModal(\'续费\')"                sensors-enabled="true"                sensors-event-name="OfficeExpireReminder"                sensors-event-type="即将到期续费">            立即续费        </button>        <span class="close-btn" ng-click="hideExpiredHint()">            <i class="iconfont icon-guanbi"></i>        </span>    </div>    <div class="top-bar-upgrade-hint" ng-if="showUpgradeHint">        <span class="text">您当前正在使用基础版，如需会员、微信营销、连锁管理等功能模块，请升级至更高版本。咨询客服热线：400-821-3720</span>        <button class="btn btn-default"                ng-click="goToBmsEnterpriseSoftware()"                sensors-enabled="true"                sensors-event-name="OfficeUpgradeReminder"                sensors-event-type="基础版升级">            立即升级        </button>        <span class="close-forever" ng-click="hideUpgradeHintForever()">            不再提醒        </span>        <span class="close-btn" ng-click="hideUpgradeHint()">            <i class="iconfont icon-guanbi"></i>        </span>    </div></div>');templateCache.put('/app/framework/views/ares-new-home-view.html','<div style="height:100%; width: 100%;z-index: 99999;">    <style scoped>        #hebe-container iframe {            border: 0;            display: block;            width: 100%;            height: 100%;        }        #hebe-deputy-container iframe {            border: 0;            display: block;            width: 100%;            height: 100%;        }    </style></div>');templateCache.put('/app/framework/views/coming-soon-view.html','<div class="center-block" style="width:500px;font-size:50px;color:gray;margin-top:200px;">Coming Soon...</div>');templateCache.put('/app/framework/views/default-view.html','<h1></h1>');templateCache.put('/app/framework/views/emr-all-home-view.html','<div class="orthodntic-content">    <style scoped>        .orthodntic-menu-table {            height:25px;        }        .orthodntic-menu-table td {            text-align:center;            cursor:pointer;        }        .orthodntic-menu-table .orthodntic-menu-td {            border-right:1px solid #E6E4E1;        }        .orthodntic-menu-item {            padding:2px 10px 3px 10px;            border-radius:90px;            margin-right:10px;            margin-left:10px;        }        .orthodntic-menu-item:hover {            background-color:#E6E6E6;            color:black;        }        .orthodntic-menu-active {            background-color:#00A6C9 !important;            color:white !important;        }        .orthodntic-menu-normal {            background-color:white;            color:black;        }    </style>    <div style="border-bottom:1px solid #00A6C9;padding:10px;">        <table class="orthodntic-menu-table">            <tr>                <td class="orthodntic-menu-td" ares-authorize="patientMedicalRecord.list">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'patientgeneralMedicalRecords.patientEmr.list\',\'orthodntic-menu-normal\':selectMenu!=\'patientgeneralMedicalRecords.patientEmr.list\'}"                         ng-click="onSelected(\'patientgeneralMedicalRecords.patientEmr.list\')">病历档案</div>                </td>                <td class="orthodntic-menu-td" ares-authorize="generalExam.history">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'patientgeneralMedicalRecords.patientGeneralExam.hint\',\'orthodntic-menu-normal\':selectMenu!=\'patientgeneralMedicalRecords.patientGeneralExam.hint\'}"                         ng-click="onSelected(\'patientgeneralMedicalRecords.patientGeneralExam.hint\')">牙齿检查</div>                </td>                <td class="orthodntic-menu-td"  ares-authorize="perioExam.history">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'patientgeneralMedicalRecords.patientPerioExam.history\',\'orthodntic-menu-normal\':selectMenu!=\'patientgeneralMedicalRecords.patientPerioExam.history\'}"                         ng-click="onSelected(\'patientgeneralMedicalRecords.patientPerioExam.history\')">牙周检查</div>                </td>                <!--<td class="orthodntic-menu-td" ares-authorize="patientImaging.list">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'patientgeneralMedicalRecords.patientImaging.imagingHistory\',\'orthodntic-menu-normal\':selectMenu!=\'patientgeneralMedicalRecords.patientImaging.imagingHistory\'}"                         ng-click="onSelected(\'patientgeneralMedicalRecords.patientImaging.imagingHistory\')">影像检查</div>                </td>-->                <td class="orthodntic-menu-td"  ares-authorize="patientMgmt.txplan">                    <div class="orthodntic-menu-item"                         ng-class="{\'orthodntic-menu-active\':selectMenu==\'patientgeneralMedicalRecords.patientTxplan.list\',\'orthodntic-menu-normal\':selectMenu!=\'patientgeneralMedicalRecords.patientTxplan.list\'}"                         ng-click="onSelected(\'patientgeneralMedicalRecords.patientTxplan.list\')">                        治疗计划                    </div>                </td>            </tr>        </table>    </div>    <div ui-view></div></div>');templateCache.put('/app/framework/views/error-view.html','<div class="ui inverted red segment">    <p>Oops! An error occured while processing your request.</p></div>');templateCache.put('/app/framework/views/message-detail-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h3 class="modal-title">{{message.publishDate | toDateString}} {{message.category}}</h3>    </div>    <div class="modal-body ares-dialog-body" style=" min-height: 80px; padding: 10px;">        <h3 style="margin-top:0">{{message.title}}</h3>        <p>            <span ng-bind-html="content"></span>            <a ng-if="message.extraLink" ng-href="{{message.extraLink}}" target="_blank">更多详情</a>        </p>    </div>    <div class="modal-footer ares-dialog-footer" style="background:white;border-top:0;text-align:center">        <div class="center-block" style="width:200px">            <button type="button" class="btn btn-default" ng-click="ignoreMessage()">                删除该条消息            </button>            <button type="button" class="btn btn-default" ng-click="close()">关闭</button>        </div>    </div></div>');templateCache.put('/app/framework/views/message-view.html','<li class="dropdown" id="notifications-header">    <style scoped>        .message-container {            padding-top: 6px !important;        }        .message-container strong {            margin-left: -5px;        }        .message-container a {            color: #319DB5 !important;            display: inline !important;        }        .message-container a:hover {            text-decoration: underline !important;        }        .message-muted * {            color: gray;        }        .message-content {            border-radius: 4px;            /* border-top-left-radius: 1px !important; */            border-top-right-radius: 1px !important;            /*max-width: 290px !important;*/            min-width: 170px !important;            right: 0;            width: 400px;            background-color: #ffffff;            border: 1px solid rgba(0, 0, 0, 0.15) !important;            position: absolute !important;            top: 100%;            z-index: 1000;            border: 1px solid #ccc;            border: 1px solid rgba(0, 0, 0, .15);            border-radius: 4px;        }        .message-content li {            list-style: none;        }        .message-menu-header {            background: #3d3d3d;            width: 398px;            height: 40px;            vertical-align: middle;            border-radius: 4px;        }        .message-menu-header li {            float: left;            height: 30px;            margin-top: 10px;            padding-left: 10px;        }        .message-menu-content {            background: #fbfbfb;            border: 1px solid #e3e3e3;            width: 398px;        }        .message-menu-content li {            padding-top: 1px;            padding-left: 10px;            padding-bottom: 2px;        }        .message-menu-header span,        .content-list-header span {            color: #ffffff;            letter-spacing: 0px;            width: 100%;        }        .header-title {            font-weight: 600;            font-size: 15px;            color: #3d3d3d;            text-align: left;            width: 200px;            float: left;        }        .content-list {            width: 369px;            margin-left: 13px;            margin-top: 12px;            border: 1px solid #ccc;            border: 1px solid rgba(0, 0, 0, .15);            border-radius: 4px;        }        .content-list-header {            opacity: 0.69;            background: #00a6c9;            width: 369px;            height: 40px;            border-radius: 4px;        }        .content-list-header li {            float: left;        }        .content-list-content {            border: 1px solid rgba(0, 0, 0, .05);        }        .item-hover:hover {            background: #f4f4f4;            border: 1px solid #e3e3e3;            width: 367px;        }        .item-hover-hasread {            background: #f4f4f4;            border: 1px solid #e3e3e3;            width: 367px;        }        .message-content li a {            font-size: 14px;            color: #3d3d3d;        }        .bell-wrapper > a:hover {            color: #fff;        }        .bell-wrapper > a {            text-align: center;            display: inline-block;            width: 30px;            height: 30px;            line-height: 28px;            border: 1px solid #ffffff;            border-radius: 50%;            color: #fff;        }        .bell-wrapper > a > i {            line-height: 28px;            color: #fff;        }        #notifications-header .notice {            margin-left: 5px;        }        #notifications-header .notice a i {            font-size: 18px;            vertical-align: middle;        }    </style>    <div style="padding-top:13.5px;padding-right:0;width:90px;height:50px;margin-left:10px;" class=\'bell-wrapper\'>        <span class="notice" style="cursor:pointer" ng-click="toggle()">            <a href="" style=\'text-decoration: none; color:#6a6a6a\' data-toggle="tooltip" data-placement="bottom"               title=\'系统通知\' ng-show="!notTrouble" sensors-enabled="true"               sensors-event-name="MessageCtrl" sensors-event-type="通知" class="ares3-tongzhi">                <i class="bell iconfont icon-tongzhi1"  ng-if="!ares3"></i>                <i class="bell iconfont icon-tongzhi3"  ng-if="ares3"></i>                <span style="margin-left:3px;cursor:pointer">通知</span></a>            <a href="" style=\'text-decoration: none; color:#6a6a6a\' data-toggle="tooltip" data-placement="bottom"               title=\'系统通知\' ng-show="notTrouble" sensors-enabled="true"               sensors-event-name="MessageCtrl" sensors-event-type="通知" class="ares3-tongzhi" >                <i class="bell iconfont icon-tongzhi-wurao" ng-if="!ares3"></i>                <i class="bell iconfont icon-tongzhi-wurao3" ng-if="ares3"></i>                <span style="margin-left:3px;cursor:pointer">通知</span>            </a>        </span>        <span ng-click="toggle()"              style="position:relative;left:0;top:-10px;background:#ff0000;cursor:pointer;font-size:7px;"              class="badge item-icon bell" ng-show="messageFilterReadCnt < 100 && messageFilterReadCnt > 0">{{messageFilterReadCnt}}</span>        <span ng-click="toggle()"              style="position:relative;left:0;top:-10px;background:#ff0000;cursor:pointer;font-size:7px;"              class="badge item-icon bell" ng-show="messageFilterReadCnt > 99">...</span>    </div>    <div class="message-content" id="messageCenterContent"         style="top: 50px; right: 0px; position: fixed !important; display:none;">        <ul>            <li class="message-menu-header">                <ul>                    <li style="width:40%;"><span style="font-size: 16px;margin-left:10px;">收到通知：{{messageCnt}}条</span>                    </li>                    <li style="width:35%;text-align:right;">                        <span style="font-size: 14px;text-align:right;">免扰模式</span>                        <a style="vertical-align: middle;" ng-show="!notTrouble" ng-click="changeBellStatus(isMessageNotDisturbDisalbed)">                            <img src="/Content/imgs/bell-open.png"/>                            <img ng-show="!notTrouble" ng-click="changeBellStatus(isMessageNotDisturbDisalbed); $event.stopPropagation();"                                 style="position:relative;left:-38px;top:0;cursor:pointer;"                                 src="/Content/imgs/bell-button.png"/>                        </a>                        <a style="vertical-align: middle;" ng-show="notTrouble" ng-click="changeBellStatus(isMessageNotDisturbDisalbed)">                            <img src="/Content/imgs/bell-close.png"/>                            <img ng-show="notTrouble" ng-click="changeBellStatus(isMessageNotDisturbDisalbed); $event.stopPropagation();"                                 style="position:relative;left:-23px;top:0;cursor:pointer;"                                 src="/Content/imgs/bell-button.png"/>                        </a>                    </li>                    <li style="width:5%;">                        <img src="/Content/imgs/vertical-line.png" style="margin-top:-10px;">                    </li>                    <li style="width:20%;">                        <a ng-click="ignoreAllMessages(isMessageClearAllDisalbed)"                           style="padding-left: 0; font-size: 14px; color: #ffffff; "                           ng-disabled="isMessageClearAllDisalbed">全部清除</a>                    </li>                </ul>            </li>            <li class="message-menu-content">                <div style="margin-bottom: 10px; overflow-y: auto; max-height: 500px; width: 398px; ">                    <ul class="content-list" ng-repeat="message in messageData | filter : {menuBigClass : \'系统公告\'}">                        <li class="content-list-header">                            <ul>                                <li style="width: 88%; padding-top:6px;">                                    <span style="font-size: 16px;">{{message.menuBigClass}}：{{message.count}}条</span>                                </li>                                <li style="width: 12%; padding-top: 6px;"><a ng-show="message.count > 0" href=""                                                                             ng-click="ignoreAllSystemMessages(isMessageClearAllDisalbed)"                                                                             ng-disabled="isMessageClearAllDisalbed"><img                                        src="/Content/imgs/del.png"/></a></li>                            </ul>                        </li>                        <li ng-repeat="item in message.messageItems" class="content-list-content item-hover"                            ng-show="!item.hasIgnored" ng-class="{\'item-hover-hasread\':item.hasRead}">                            <ul ng-mouseenter="item.isShowDel = true" ng-mouseleave="item.isShowDel = false"                                ng-click="readMessageEx($event, item)">                                <li>                                    <a class="header-title">{{item.title | replaceTooLongStr:24:\'...\'}}</a>                                    <a style="width:115px;float:left;">{{item.createTimeText}}</a>                                    <a href="" class="message-close-btn"                                       ng-click="ignoreMessage(item,isMessageClearAllDisalbed)"                                       ng-disabled="isMessageClearAllDisalbed"><img class="message-close-btn"                                                                                    src="/Content/imgs/del.png"                                                                                    ng-show="item.isShowDel"/>&nbsp;</a>                                </li>                                <li>                                    <a style="width:100%;text-align:left;min-width:100px;">{{item.content |                                        replaceTooLongStr:40:\'...\'}}</a>                                </li>                            </ul>                        </li>                    </ul>                    <ul class="content-list">                        <li class="content-list-header">                            <ul>                                <li style="width: 88%; padding-top: 6px;">                                    <span style="font-size: 16px;">业务提醒：{{getBizMessageCount(\'业务提醒\')}}条</span>                                </li>                                <li style="width: 12%; padding-top: 6px;"><a ng-show="getBizMessageCount(\'业务提醒\')>0"                                                                             href=""                                                                             ng-click="ignoreAllBizMessages(\'业务提醒\',isMessageClearAllDisalbed)"                                                                             ng-disabled="isMessageClearAllDisalbed"><img                                        src="/Content/imgs/del.png"/></a></li>                            </ul>                        </li>                        <li class="content-list-content item-hover" ng-show="message.count > 0"                            ng-repeat="message in messageData | filter : {menuBigClass : \'业务提醒\'}">                            <ul ng-mouseenter="message.isShowDel = true" ng-mouseleave="message.isShowDel = false"                                ng-click="goToNavigateEx($event, message)">                                <li>                                    <a class="header-title">{{message.menuName}}({{message.count}})</a>                                    <a style="width:115px;float:left;">{{message.createTimeFormatText}}</a>                                    <a href="" class="message-close-btn"                                       ng-click="ignoreBizMessage(message,isMessageClearAllDisalbed)"                                       ng-disabled="isMessageClearAllDisalbed"><img src="/Content/imgs/del.png"                                                                                    ng-show="message.isShowDel"                                                                                    class="message-close-btn"/>&nbsp;</a>                                </li>                                <li>                                    <a style="width:100%;text-align:left;">{{message.content |                                        replaceTooLongStr:40:\'...\'}}</a>                                </li>                            </ul>                        </li>                    </ul>                    <ul class="content-list">                        <li class="content-list-header">                            <ul>                                <li style="width: 88%; padding-top: 6px;">                                    <span style="font-size: 16px;">预警信息：{{getBizMessageCount(\'预警信息\')}}条</span>                                </li>                                <li style="width: 12%; padding-top: 6px;"><a href=""                                                                             ng-show="getBizMessageCount(\'预警信息\')>0"                                                                             ng-click="ignoreAllBizMessages(\'预警信息\')"><img                                        src="/Content/imgs/del.png"/></a></li>                            </ul>                        </li>                        <li class="content-list-content item-hover" ng-show="message.count > 0"                            ng-repeat="message in messageData | filter : {menuBigClass : \'预警信息\'}">                            <ul ng-mouseenter="message.isShowDel = true" ng-mouseleave="message.isShowDel = false"                                ng-click="goToNavigateEx($event, message)">                                <li>                                    <a class="header-title"                                       ng-show="message.menuClass == \'短信预警\'">{{message.menuName}}</a>                                    <a class="header-title"                                       ng-show="message.menuClass == \'库存预警\'">{{message.menuName}}</a>                                    <a style="width:115px;float:left;">{{message.createTimeFormatText}}</a>                                    <a href="" class="message-close-btn"                                       ng-click="ignoreBizMessage(message,isMessageClearAllDisalbed)"                                       ng-disabled="isMessageClearAllDisalbed"><img src="/Content/imgs/del.png"                                                                                    ng-show="message.isShowDel"                                                                                    class="message-close-btn"/>&nbsp;</a>                                </li>                                <li>                                    <a style="width:100%;text-align:left;">{{message.content |                                        replaceTooLongStr:40:\'...\'}}</a>                                </li>                            </ul>                        </li>                    </ul>                </div>            </li>        </ul>    </div></li>');templateCache.put('/app/framework/views/no-permission-view.html','<h3>对不起，您没有权限访问该页面！</h3>');templateCache.put('/app/framework/views/office-point-dialog-view.html','<div>    <div style="margin-left: 10px; width:410px; min-height:180px;" ng-mouseleave="closePointBoard()">        <div style=" margin-top:10px;">            <span style="font-size: 16px; font-weight: bolder; color: black">积分有什么用？</span>        </div>        <div style=" margin-top:10px;">            <span style="font-size: 15px; color: black">诊所积分是为了回馈用户使用e看牙解决方案而推出的增值服务，积分可直接兑换e看牙各项服务费，如短信等</span>        </div>        <div style=" margin-top:10px;">            <span style="font-size: 16px; font-weight: bolder; color: black">如何累计积分？</span>        </div>        <div style=" margin-top:10px;">            <span style="font-size: 15px; color: black">诊所员工每天使用e看牙系统即可以累积一定积分。详见积分详情</span>        </div>        <div style=" margin-top:10px;" ares-authorize="setting.office">            <span style="font-size: 15px; color: black">试试<a style="font-size: 14px;" ng-click="goToOffice()"> 完善诊所地址信息 </a>来获取100积分吧。</span>        </div>    </div></div>');templateCache.put('/app/framework/views/office-switch-view.html','<div ares-modal-dragable ares-clean-kendo id="office-switch-wrap" class="enyo">    <style>        #office-switch-wrap {        }            #office-switch-wrap .office-selector-content {                overflow: auto;                width: 100%;            }            #office-switch-wrap .form-group {                margin-bottom: 10px;            }            #office-switch-wrap .office-selector-content .enyo-tree-view {                width: 100%;            }    </style>    <div class="enyo-modal-container">        <div class="enyo-modal-header clearfix">            <div class="pull-left enyo-modal-title">切换诊所</div>            <div class="pull-right iconfont icon-guanbi" ng-click="cancel();"></div>        </div>        <div class="enyo-modal-content" style="padding:10px;">            <div class="form-group">                <label for="office" class="control-label">当前诊所</label>                <label class="control-content">{{currentOffice.name}}</label>            </div>            <div class="form-group input-group">                <span class="input-group-addon">                    <i class="glyphicon glyphicon-search"></i>                </span>                <input class="office-selector-search-input form-control"                       ng-change="onSearchOffice()" placeholder="请输入查询..."                       ng-model="officeSearchContent" />            </div>            <div class="office-selector-content form-group" ng-style="{\'height\':selecterHeigthStr}">                <ares-tree-view style="width:100%"                                tree-instance="treeInstance"                                tree-data="officeTreeData"                                checkbox="checkbox"                                checkbox-linkage="checkboxLinkage"                                text-field="textLabel"                                image-field="image"                                expand-all="true"                                selected="selectedOffice">                </ares-tree-view>            </div>        </div>        <div class="enyo-modal-footer" style="text-align:center;padding:10px 0;">            <button type="button" class="btn btn-default" ng-click="cancel()">取消</button>            <button type="button" class="btn btn-primary" ng-click="ok()">确定</button>        </div>    </div></div>');templateCache.put('/app/framework/views/patient-host-view.html','<div class="patient-host-container">    <style scoped>        .mCSB_scrollTools {            right: -5px !important;        }        #patientContainer .k-splitbar {            display: none;        }    </style>    <div id="patientContainer" class="patient-host-container"         kendo-splitter k-panes="[{collapsible: true, resizable: false, size: \'195px\'},{ scrollable: false }]"         ng-show="!patientHostState.isSingleMode">        <aside id="patientBar" class="patient-nav-container">            <div style="margin-left:5px;width: 100%;height: 100%;background-color: #F5F5F5;border-radius:5px;overflow-y:auto;"                 ng-show="hasMyPatientsPermission||hasPermission||patientTabManager.tabs.length>0||isAdminOffice">                <patient-nav-bar></patient-nav-bar>            </div>        </aside>        <div class="patient-content-container" style="overflow-x:auto;">            <div style="padding-left: 10px;padding-right:5px;position:absolute;" ng-show="patientTabManager.activeTab">                <patient-main-info-view></patient-main-info-view>                <div>                    <patient-menu-bar></patient-menu-bar>                    <div ui-view="patient" style="padding-top: 100px;" ng-style="{\'width\':(patientContentWidth-30)}"></div>                </div>            </div>            <div style="padding-left: 10px;padding-right:5px;" ui-view="patientMisc" ng-show="!patientTabManager.activeTab"></div>        </div>    </div>    <div class="patient-host-container" ng-show="patientHostState.isSingleMode" style="overflow-y:auto;">        <table style="width:100%;">            <tr>                <td valign="top" style="width:180px;background-color:#F5F5F5;">                    <patient-info-view patient-id="{{patientHostState.patientId}}"                                       is-visible="{{patientHostState.isSingleMode}}">                    </patient-info-view>                </td>                <td valign="top">                    <div style="padding-left:10px;padding-right:10px">                        <div ui-view="signlePatient"></div>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/framework/views/patient-info-view.html','<div ng-style="{\'min-height\':leftheight}">    <div style="margin-bottom:5px;">        <div style="padding:8px;background-color:#00A8CB;color:white;width: 50px;cursor:pointer;" ng-click="goToPatient()">返回</div>        <table style="width:100%;text-align:center;">            <tr>                <td>                    <div class="alpha" style="width:90px;margin: 0 auto;">                        <img alt="患者图像" class="image-avatar" style="width:90px;height:90px;border:0;margin-bottom:5px" ng-src="{{patient.imgSrc}}">                        <div style="text-align:center;margin-top:-3px;" class="center-block">                            <span class="badge patient-indicator patient-indicator-membership" title="会员"                                  ng-if="patient.membershipId && !patient.membershipTypeAbbr && !patient.isShared">会</span>                            <span class="badge patient-indicator patient-indicator-membership"                                   title="{{\'与\'+patient.shareName+\'共享会员卡\'}}" ng-if="patient.isShared && !patient.membershipTypeAbbr">共</span>                            <span class="patient-membership-tag" style="border: none;display:inline-block;vertical-align:middle;"                                  ng-if="patient.membershipId && patient.membershipTypeAbbr && !patient.isShared"                                  ng-class="{\'patient-indicator-membership-expired\':patient.extension.isMembershipExpired}">                                <span class="membership-tag-icon"></span>                                <span class="membership-tag-text">{{ patient.membershipTypeAbbr }}</span>                            </span>                            <span class="patient-membership-tag" style="border: none;display:inline-block;vertical-align:middle;"                                  title="{{\'与\' + patient.shareName+\'共享会员卡\'}}"                                  ng-if="patient.isShared && patient.membershipTypeAbbr"                                  ng-class="{\'patient-indicator-membership-expired\':patient.extension.isMembershipExpired}">                                <span class="membership-tag-icon-share"></span>                                <span class="membership-tag-text">{{ patient.membershipTypeAbbr }}</span>                            </span>                            <span class="badge patient-indicator patient-indicator-medical-alert" title="{{\'过敏源：\' + medicine}}" ng-if="medicine && medicine !== \'无\'">敏</span>                            <span class="badge patient-indicator patient-indicator-overdue" title="{{\'欠款：\' + patient.overdue}}" ng-if="patient.overdue">欠</span>                            <span class="badge patient-indicator patient-indicator-temp" title="临时患者" ng-if="patient.patientType==\'临时\'">临</span>                            <span class="badge patient-indicator patient-indicator-archive" title="已归档患者" ng-if="patient.isArchived">档</span>                            <span class="badge patient-indicator patient-indicator-archive" title="已删除患者" ng-if="patient.isInactive">删</span>                        </div>                    </div>                </td>            </tr>            <tr>                <td style="font-size:20px;font-weight:bold;padding-bottom:5px;">                    {{patient.name}}                </td>            </tr>            <tr>                <td style="padding-bottom:5px;">                    <span>{{patient.privateId}}</span>                </td>            </tr>            <tr>                <td>                    <button class="btn btn-primary" style="padding: 3px 6px 3px 6px;" ng-click="createFollowUpAppt()" ng-disabled="patient.isArchived">创建预约</button>                </td>            </tr>        </table>    </div>    <div style="margin-left:5px;margin-top:10px;" ng-if="bodycheck!=null">        <table style="width:100%;">            <tr ng-show="medicines||diseases">                <td colspan="2" style="font-family:PingFangSC-Semibold;font-weight:bold; font-size:14px;color:#3d3d3d;letter-spacing:0px;line-height:40px;text-align:left;">临床警示</td>            </tr>            <tr style="font-size:12px;" ng-show="medicines">                <td valign="top" style="text-align:left;color:#9397a2;line-height:22px;width:70px;">                    过敏                </td>                <td style="color:#d95c5d;">                    <div style="padding-top: 2px;">                        <div ng-repeat="medicine in medicines">                            {{medicine}}                        </div>                    </div>                </td>            </tr>            <tr style="font-size:12px;" ng-show="diseases">                <td valign="top" style="text-align:left;color:#9397a2;line-height:22px;width:70px;">                    既往史                </td>                <td style="color:#d95c5d;">                    <div style="padding-top: 2px;">                        <div ng-repeat="disease in diseases">                            {{disease}}                        </div>                    </div>                </td>            </tr>        </table>    </div>    <div style="margin-left:5px;margin-top:10px;">        <table style="width:100%;table-layout:fixed;">            <tr>                <td colspan="2" style="font-family:PingFangSC-Semibold;font-weight:bold; font-size:14px;color:#3d3d3d;letter-spacing:0px;line-height:20px;text-align:left;line-height: 40px;">就诊情况</td>            </tr>            <tr style="font-size:12px;">                <td valign="top" style="text-align:left;color:#9397a2;line-height:20px;width:60px;">                    上次就诊                </td>                <td valign="top" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;line-height:20px;padding-left:10px;">                    {{lastAppt.startTime | toDateString}}<br />                    <span>{{lastAppt.doctorName}}</span><br />                    <span title="{{lastAppt.transactionNames}}">{{lastAppt.transactionNames}}</span>                </td>            </tr>            <tr style="font-size:12px;">                <td valign="top" style="text-align:left;color:#9397a2;line-height:20px;width:60px;">                    下次预约                </td>                <td valign="top" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden;line-height:20px;padding-left:10px;">                    {{nextAppt.startTime | toDateString}}<br />                    <span>{{nextAppt.doctorName}}</span><br />                    <span title="nextAppt.transactionNames">{{nextAppt.transactionNames}}</span>                </td>            </tr>        </table>    </div>    <div style="margin-left:5px;margin-top:10px;" ng-if="txPlanData.length>0">        <table style="width:100%;">            <tr>                <td colspan="2" style="font-family:PingFangSC-Semibold;font-weight:bold; font-size:14px;color:#3d3d3d;letter-spacing:0px;line-height:20px;text-align:left;line-height: 40px;">治疗计划</td>            </tr>            <tr>                <td>                    <div ng-repeat="txPlan in txPlanData" style="margin-bottom:10px;">                        <div style="text-align:left;color:#9397a2;line-height:22px;">{{txPlan.name}}</div>                        <div ng-repeat="item in txPlan.txplanItemList" style="font-size:12px;">                            <table style="width: 100%">                                <tr>                                    <td style="font-weight:bold;" class="cell-left cell-truncate" title="{{item.transactionCodeName}}">{{item.transactionCodeName}}</td>                                    <td style=" text-align: right; padding-right: 10px;width: 60px;">{{item.statusStr}}</td>                                </tr>                            </table>                        </div>                    </div>                </td>            </tr>        </table>    </div></div>');templateCache.put('/app/framework/views/patient-main-info-view.html','<div ng-show="patientTabManager.activeTab" style="position: fixed;z-index: 10;" ng-style="{\'width\':patientContentWidth}">    <style scoped>        .patient_main_info_button_div > div {            margin-left: 10px;            float: right;        }        .patient_main_info_button_div .image {            width: 34px;            height: 30px;            background-color: #9397A2;            border-radius: 5px;            padding-top: 5px;            text-align: center;            cursor: pointer;        }        .patient_main_info_mini_card {            padding: 2px !important;            margin: 0 !important;        }        .patient_main_info_button_div {            /*width: 228px;*/            height: 40px;            background-color: #F7F7F7;            z-index: 2;            position: absolute;            top: 8px;            right: 21px;            padding-top: 5px;        }        .patient_main_info_title_style {            border-left: 1px solid #E3E3E3;            padding-left: 10px;            height: 45px;            overflow: hidden;        }        .content_style {            position: relative;            top: 5px;        }        .patient_main_info_title_style .span-patient-tag {            width: 17px;            height: 17px;            color: white;            float: left;            text-align: center;            line-height: 17px;            margin-right: 5px;            margin-top: 4px;        }        .patient_main_info_title_style .popover-content {            word-break: break-all;        }        .patient_main_info_title_style .popover {            max-width: 200px !important;            min-height: 100px !important;        }        .patient_main_info_label_title {            margin: 0px;            display: block;            max-width: 130px;            overflow: hidden;            height: 20px;            float: left;            white-space: nowrap;            text-overflow: ellipsis;        }        #patientPhoneDropdown {            padding: 6px 10px;        }        .patient-main-info-phone-label {            max-width: 80px;            text-overflow: ellipsis;            overflow: hidden;            display: inline-block;        }    </style>    <table style="width:100%;">        <tr>            <td valign="top" style="width:33px;background-color: white;" ng-show="!isShowBanner">                <div style="width:30px;height:60px;border:1px solid #00A8CB;border-left:0; border-radius: 0 5px 5px 0;background-color:#00A8CB;color:white;">                    <table style="width: 100%; height: 100%; text-align: center; cursor: pointer;" ng-click="onToggleBanner()">                        <tr>                            <td>                                <img src="../../../app-resource/images/spread.png" />                            </td>                        </tr>                        <tr>                            <td valign="bottom">                                <span class="icon-user"></span>                            </td>                        </tr>                        <tr>                            <td valign="top">                                <span ng-show="patientTabManager.tabs.length<=99">{{patientTabManager.tabs.length}}</span>                                <span ng-show="patientTabManager.tabs.length>99">…</span>                            </td>                        </tr>                    </table>                </div>            </td>            <td style="padding-right: 21px;">                <div style="height:60px;width:100%;border:1px solid #E3E3E4;border-radius:5px;background-color:#F7F7F7;overflow: hidden;">                    <table style="width:100%;">                        <tr>                            <td>                                <table>                                    <tr>                                        <td rowspan="2" valign="middle" style="padding-left:10px;">                                            <img alt="患者图像" class="image-avatar" style="width:40px;height:40px;border:0;margin:0;border-radius:50%" ng-src="{{patientTabManager.activeTab.patient.imgSrc}}">                                        </td>                                        <td valign="bottom" style="padding-left:10px;height:30px;">                                            <label style="margin: 0;">{{patientTabManager.activeTab.patient.name}}</label>                                        </td>                                        <td valign="bottom" style="padding-left:20px;text-align:center;height:30px;min-width: 80px;padding-right: 20px;">                                            <span style="display:inline;font-size: 12px;">{{patientTabManager.activeTab.patient.birth|toAgeYearString}}</span>                                            <span class="icon-symbol-male" style="color:blue;" title="男" ng-show="patientTabManager.activeTab.patient.sex ==1"></span>                                            <span class="icon-symbol-female" style="color:#d85e5e;" title="女" ng-show="patientTabManager.activeTab.patient.sex ==2"></span>                                            <img style="display:inline;vertical-align: baseline;" src="../../../app-resource/images/birth.png" ng-show="patientTabManager.activeTab.patient.birth" title="{{patientTabManager.activeTab.patient.birth|toDateString}}" />                                            <span class="glyphicon glyphicon-earphone" data-toggle="tooltip" data-placement="bottom"                                                  ng-show="patientTabManager.activeTab.patient.mobile||patientTabManager.activeTab.patient.phoneNumber"                                                  title="{{patientTabManager.activeTab.patient.mobile||patientTabManager.activeTab.patient.phoneNumber}}"></span>                                        </td>                                        <td style="height:60px;max-width:125px;" rowspan="2" ng-show="patientTabManager.activeTab.patient.tags&&patientTabManager.activeTab.patient.tags.length>0">                                            <div class="patient_main_info_title_style" style="padding-left:10px;">                                                <span class="span-patient-tag" ng-repeat="tag in patientTabManager.activeTab.patient.tags" title="{{tag.title}}"                                                      ng-style="{\'background-color\':tag.itemValue,\'color\':tag.textColor,\'border-radius\':tag.isHidden?\'none\':\'10px\'}">{{tag.firstLetter}}</span>                                            </div>                                        </td>                                        <td style="height:60px;" rowspan="2">                                            <div class="patient_main_info_title_style">                                                <p style="margin:0px;">初诊医生：{{patientTabManager.activeTab.patient.dutyDoctorId||patientTabManager.activeTab.patient.doctorId||patientTabManager.activeTab.patient.lastDoctorId|toDoctorName}}</p>                                                <p style="margin:0px;">上次：{{patientTabManager.activeTab.patient.lastVisit|toDateString}}</p>                                                <label style="margin:0px;"></label>                                            </div>                                        </td>                                        <td style="height:60px;" rowspan="2">                                            <div class="patient_main_info_title_style">                                                <p style="margin:0px;">创建人：{{patientTabManager.activeTab.patient.recordCreatedUserName}}</p>                                                <p style="margin:0px;">创建时间：{{patientTabManager.activeTab.patient.recordCreatedTime|toDateString}}</p>                                                <label style="margin:0px;"></label>                                            </div>                                        </td>                                        <td style="padding-left:20px;height:60px;" rowspan="2">                                            <div class="patient_main_info_title_style">                                                <p style="margin:0px;">患者来源</p>                                                <label class="patient_main_info_label_title" ng-show="patientTabManager.activeTab.patient.sourceType">{{patientTabManager.activeTab.patient.sourceTypeLevel1}}</label>                                                <label class="patient_main_info_label_title" ng-show="patientTabManager.activeTab.patient.sourceType">&nbsp;|&nbsp;{{patientTabManager.activeTab.patient.sourceType}}</label>                                                <label class="patient_main_info_label_title" ng-show="patientTabManager.activeTab.patient.refereeName">｜{{patientTabManager.activeTab.patient.refereeName}}</label>                                            </div>                                        </td>                                        <td style="padding-left:20px;height:60px;" rowspan="2" ng-show="patientTabManager.activeTab.patient.notes">                                            <div class="patient_main_info_title_style">                                                <p style="margin:0px;">备注</p>                                                <label id="noteBoard" tabindex="0" role="button" data-toggle="popover" data-trigger="focus" data-container=".patient_main_info_title_style"                                                       data-placement="bottom" data-content="{{patientTabManager.activeTab.patient.notes}}">****</label>                                            </div>                                        </td>                                    </tr>                                    <tr>                                        <td valign="top" style="padding-left:10px;height:30px;">{{patientTabManager.activeTab.patient.privateId}}</td>                                        <td valign="top" style="padding-left:20px;height:30px;min-width: 45px;text-align:center;">                                            <span style="border: none;" class="badge patient-indicator patient-indicator-membership patient_main_info_mini_card" title="会员"                                                  ng-if="patientTabManager.activeTab.patient.membershipId && !patientTabManager.activeTab.patient.membershipTypeAbbr && !patientTabManager.activeTab.patient.isShared"                                                  ng-class="{\'patient-indicator-membership-expired\':patientTabManager.activeTab.patient.extension.isMembershipExpired,                                                  \'patient-indicator-membership\':!patientTabManager.activeTab.patient.extension.isMembershipExpired}">                                                会                                            </span>                                            <span style="border: none;" class="badge patient-indicator ng-scope patient_main_info_mini_card"                                                  title="{{\'与\' + patientTabManager.activeTab.patient.shareName+\'共享会员卡\'}}"                                                  ng-if="patientTabManager.activeTab.patient.isShared && !patientTabManager.activeTab.patient.membershipTypeAbbr"                                                  ng-class="{\'patient-indicator-membership-expired\':patientTabManager.activeTab.patient.extension.isSharedMembershipExpired,                                                  \'patient-indicator-membership\':!patientTabManager.activeTab.patient.extension.isSharedMembershipExpired}">                                                共                                            </span>                                            <span class="patient-membership-tag" style="border: none;display:inline-block;vertical-align:middle;"                                                  ng-if="patientTabManager.activeTab.patient.membershipId && patientTabManager.activeTab.patient.membershipTypeAbbr && !patientTabManager.activeTab.patient.isShared"                                                  ng-class="{\'patient-indicator-membership-expired\':patientTabManager.activeTab.patient.extension.isMembershipExpired}">                                                <span class="membership-tag-icon"></span>                                                <span class="membership-tag-text">{{ patientTabManager.activeTab.patient.membershipTypeAbbr }}</span>                                            </span>                                            <span class="patient-membership-tag" style="border: none;display:inline-block;vertical-align:middle;"                                                  title="{{\'与\' + patientTabManager.activeTab.patient.shareName+\'共享会员卡\'}}"                                                  ng-if="patientTabManager.activeTab.patient.isShared && patientTabManager.activeTab.patient.membershipTypeAbbr"                                                  ng-class="{\'patient-indicator-membership-expired\':patientTabManager.activeTab.patient.extension.isMembershipExpired}">                                                <span class="membership-tag-icon-share"></span>                                                <span class="membership-tag-text">{{ patientTabManager.activeTab.patient.membershipTypeAbbr }}</span>                                            </span>                                            <span style="border: none;" class="badge patient-indicator patient-indicator-medical-alert patient_main_info_mini_card" title="{{\'过敏源：\' + patientTabManager.activeTab.patient.medicine}}" ng-if="patientTabManager.activeTab.patient.medicine && patientTabManager.activeTab.patient.medicine !== \'无\'">敏</span>                                            <span style="border: none;" class="badge patient-indicator patient-indicator-overdue patient_main_info_mini_card" title="{{\'欠款：\' + patientTabManager.activeTab.patient.overdue}}" ng-if="patientTabManager.activeTab.patient.overdue">欠</span>                                            <span style="border: none;" class="badge patient-indicator patient-indicator-temp patient_main_info_mini_card" title="临时患者" ng-if="patientTabManager.activeTab.patient.patientType==\'临时\'">临</span>                                            <span style="border: none;" class="badge patient-indicator patient-indicator-archive patient_main_info_mini_card" title="已归档患者" ng-if="patientTabManager.activeTab.patient.isArchived">档</span>                                        </td>                                    </tr>                                </table>                            </td>                            <!--btn-->                            <td style="width:200px;"></td>                        </tr>                    </table>                </div>            </td>        </tr>    </table>    <div class="patient_main_info_button_div">        <div class="image"             ng-click="getPatientVideo()"             ares-authorize="pdCommunication.video"             style="margin-right: 10px; margin-left: 0;">            <i class="iconfont icon-yihuangoutong" style="color: #fff; position: relative; top: 2px;"></i>        </div>        <div class="image" style="margin-right:10px;" ng-click="sendMessage()" ng-if="::!isAdminOffice">            <img src="../../../app-resource/images/msg.png" />        </div>        <div class="image" ng-click="getPatientQrCode()" ng-hide="patientTabManager.activeTab.patient.marketCenterAccount" ng-if="::!isAdminOffice && !isProfessional">            <img src="../../../app-resource/images/weixin.png" />        </div>        <div class="image" ng-click="patientConversation()" style="background-color:#33bb29"             ng-show="patientTabManager.activeTab.patient.marketCenterAccount" ng-if="::!isAdminOffice && !isProfessional"             ares-authorize="scrmMgmt.message">            <img src="../../../app-resource/images/weixin.png" />        </div>        <div id="createApptBtn" ares-authorize="scheduleCenter.createAppt">            <button class="btn btn-primary" ares-click="createAppt()"                    ng-if="!allowCrossOfficeAppt()" ares-not-archive>                创建预约            </button>            <div class="btn-group" style="display:inline-block"                 ng-if="allowCrossOfficeAppt()&&!loginContext.isAdminOffice" ares-not-archive>                <button type="button" class="btn btn-primary default-btn"                        ares-click="createAppt()">                    创建预约                </button>                <button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">                    <span class="caret"></span>                    <span class="sr-only">Toggle Dropdown</span>                </button>                <ul class="dropdown-menu command-list">                    <li>                        <a href="" ng-click="createCrossOfficeAppt()">                            创建跨诊所预约                        </a>                    </li>                </ul>            </div>        </div>        <div class="dropdown" ng-show="phoneServiceEnabled && showPatientPhoneDropdown">            <button class="btn btn-default" id="patientPhoneDropdown" data-toggle="dropdown">                <i class="iconfont icon-dianhua"></i>            </button>            <ul class="dropdown-menu">                <li ng-repeat="phone in currentPatientPhones">                    <a href="javascript:void(0)" ng-click="makePhoneCall(phone)">{{phone.mobile}} <span class="label label-success patient-main-info-phone-label" title="{{phone.mobileType}}">{{phone.mobileType}}</span></a>                </li>            </ul>        </div>    </div></div>');templateCache.put('/app/framework/views/patient-menu-bar.html','<div ng-show="patientTabManager.activeTab" style="position: fixed; z-index: 9;background-color: #FFFFFF; opacity: 1; " ng-style="{\'width\':patientContentWidth}">    <style scoped>        .menu-div {            width: 100%;            height: 30px;            margin-top: 70px;        }            .menu-div li {                height: 26px;                list-style-type: none;                float: left;                text-align: center;                cursor: pointer;                padding-top: 2px;            }            .menu-div .menu-li {                width: 80px;                border: 1px solid #E2E3E7;                border-right: none;                border-bottom-color: #00A6C9;                border-radius: 5px 5px 0 0;            }                .menu-div .menu-li:hover {                    background-color: #E6E6E6;                }            .menu-div .menu-active {                background-color: #00A6C9 !important;                border: 1px solid #00A6C9 !important;                color: white !important;            }            /*border模拟tips*/            .menu-div .message-box {                padding: 0;                min-width: 60px;                margin-top: 20px;                position: absolute;                float: left;                border: 1px solid #C9E9C0;                border-radius: 4px;                text-align: center;                color: #83878E;            }            .menu-div .triangle-border {                position: absolute;                left: 20px;                top: -20px;                overflow: hidden;                width: 0;                height: 0;                border-width: 10px;                border-style: solid dashed dashed dashed;            }            .menu-div .tb-border {                bottom: 60px;                border-color: transparent transparent #808080 transparent;            }            .menu-div .tb-background {                bottom: 59px;                border-color: transparent transparent white transparent;            }            .menu-div .message-box li {                padding-left: 5px;                padding-right: 5px;                height: 20px;                border-right: 1px solid #83878E;                margin-bottom: 5px;            }            .menu-div .hide-menu-hover {                color: white;                border-radius: 5px;                background-color: #00A6C9;            }    </style>    <div class="menu-div">        <ul>            <li class="menu-li" ng-repeat="menu in patientTabManager.activeTab.showUserMenus"                ng-style="{\'border-right\':$index==patientTabManager.activeTab.showUserMenus.length-1?\'1px solid #E2E3E7\':\'none\'}"                ng-class="{\'menu-active\':menu.active}"                ng-click="onMenuSelected(menu)">                <span style="position: relative;top: 3px;">{{menu.name}}</span>            </li>            <li style="border-bottom: 1px solid #00A6C9;cursor:default;border-top: 1px solid white;"                ng-style="{\'width\':lastLiWidth}">            </li>            <li style="padding-right: 10px;border-bottom: 1px solid #00A6C9;cursor:default;width:50px;border-top: 1px solid white;">                <span data-toggle="dropdown" style="cursor:pointer;" ng-show="showMoreBtn">                    更多…                </span>                <div class="message-box dropdown-menu command-list" style="position: relative;left: -20px;top: -10px;padding:5px;width: 100px;">                    <div class="triangle-border tb-border"></div>                    <div class="triangle-border tb-background"></div>                    <ul>                        <li ng-repeat="hideMenu in patientTabManager.activeTab.hideUserMenus"                            ng-style="{\'border-right\':hideMenu.isHideBorder?\'none\':\'1px solid #83878E\'}"                            ng-class="{\'hide-menu-hover\':hideMenu.isHover}"                            ng-click="onMenuSelected(hideMenu)"                            ng-mousemove="onHideMenuMousemove(hideMenu,$index)"                            ng-mouseleave="onHideMenuMouseleave(hideMenu,$index)">                            <span style="position:relative;top:-3px;">{{hideMenu.name}}</span>                        </li>                    </ul>                </div>            </li>            <li ng-if="isShowSetting" style="border-bottom: 1px solid #00A6C9;border-top: 1px solid white;cursor:pointer;width:30px;" ng-click="openPatientMenuConfigDialog()">                <span class="icon-settings" style="cursor:pointer;"></span>            </li>        </ul>    </div></div>');templateCache.put('/app/framework/views/patient-menu-config-view.html','<div ares-modal-dragable ares-clean-kendo>    <div class="modal-header ares-dialog-header">        <button type="button" class="close" ng-click="close()" aria-label="Close"><span aria-hidden="true">&times;</span></button>        <h4 class="modal-title">菜单配置</h4>    </div>    <div class="modal-body ares-dialog-body" style="padding:10px;height:560px;padding-right: 0;">        <div style="overflow-y: auto;height: 540px;">            <table style="width:80%;text-align:center;line-height:30px;">                <thead>                    <tr style="border-top:2px solid #00A6C9;border-bottom:1px solid #00A6C9;">                        <th style="text-align:center;">                            是否显示                        </th>                        <th style="text-align:center;">                            名称                        </th>                    </tr>                </thead>                <tbody>                    <tr style="border-bottom:1px solid #E3E3E3;cursor:pointer;"                        ng-repeat="menu in patientMenus"                        ng-style="{\'background-color\':menu.selected?\'#EDFCFF\':\'white\'}"                        ng-click="selectItem(menu,$index)">                        <td><input style="width: 20px;height: 20px;margin: 0px;position: relative;top: 5px;" type="checkbox" ng-model="menu.isVisable" /></td>                        <td>{{menu.name}}</td>                    </tr>                </tbody>            </table>        </div>        <div style="position:relative;top: -300px;right: -320px;">            <button class="btn btn-default" ng-disabled="!selectMenu" type="button" ng-click="move(-1)"><span class="glyphicon glyphicon-arrow-up"></span></button><br /><br />            <button class="btn btn-default" ng-disabled="!selectMenu" type="button" ng-click="move(1)"><span class="glyphicon glyphicon-arrow-down"></span></button>        </div>    </div>    <div class="modal-footer ares-dialog-footer">        <button type="button" class="btn btn-primary" ng-click="save()">保存</button>        <button type="button" class="btn btn-default" ng-click="close()">取消</button>    </div></div>');templateCache.put('/app/framework/views/patient-nav-bar.html','<div style="width: 190px;">    <style scoped>        .tabs-left > .nav.nav-tabs > li > a {            margin-top: 0px !important;            width: 188px !important;        }        .patient-tabset > .nav-tabs > li.active {            border-right: 1px solid white;        }        .tabs-left > .nav.nav-tabs > li.active > a {            background-color: none !important;            border-bottom: none;            color: none;            font-weight: normal;        }        .tabs-left > .nav-tabs > li > a::before {            content: \'\';            height: 0;            left: 0;        }        .patient-tabset .nav.nav-tabs > li > a {            padding: 5px 0 5px 0 !important;        }        .patient-tabset .name-card-div table {            border-bottom: 0 !important;            width: 100% !important;            table-layout: fixed;        }        .patient-tabset .check-in {            background-image: url("../../../app-resource/images/check-in.png");            background-repeat: no-repeat;            width: 16px;            height: 16px;            cursor: pointer;            position: absolute;            top: 35px;            right: 9px;            color: #00A8CB;        }            .patient-tabset .check-in:hover {                background-position-x: -18px;            }        .patient-query:hover {            cursor: pointer;            color: rgb(0, 168, 203);        }        .patient-query {            color: rgb(0, 0, 0);        }        .patient-tab-head {            margin-left: -23px;            margin-top: 14px;            position: absolute;            clip: rect(0px 16px 15px -1px);        }            .patient-tab-head:hover {                margin-left: -40px;                margin-top: 14px;                position: absolute;                clip: rect(0px 35px 15px 17px);            }    </style>    <div style="height: 30px;background-color: #E3E3E3;border-radius: 5px 5px 0 0;">        <div style="height: 30px;width:30px;float:right;cursor:pointer;border-radius:5px;" ng-click="onToggleBanner()">            <img src="../../../app-resource/images/close.png" style="padding: 5px;padding-top:8px;" />        </div>    </div>    <tabset class="tabs-left patient-tabset" ng-model="relationTabActive">        <li ng-click="selectPatientQueryTab()"            ng-class="{\'active\' : $root.currentState===\'patientRelationship.patientNewSearch\' || $root.currentState===\'patientRelationship.groupPatientSearch\' || $root.currentState===\'patientRelationship.patientAdvanceSearch\' || $root.currentState===\'patientRelationship.groupPatientAdvanceSearch\'}"            ng-if="hasPermission && !hasMyPatientsPermission&&!isAdminOffice">            <a>                <tab-heading>                    <div class="patient-query">                        <div style="margin-right:55px;line-height:41px;text-align:right;" class="name-card-div">                            <img class="patient-tab-head" src="../../../app-resource/images/patient-search.png" />                            <span style="font-weight: normal !important; width: 100% !important; font-size: 16px !important; ">患者查询</span>                        </div>                    </div>                </tab-heading>            </a>        </li>        <li ng-click="selectTab(\'patientRelationship.patientSearch\')"            ng-class="{\'active\' : $root.currentState===\'patientRelationship.patientSearch\'}"            ng-if="hasMyPatientsPermission&&!isAdminOffice">            <a>                <tab-heading>                    <div class="patient-query">                        <div style="margin-right:55px;line-height:41px;text-align:right;" class="name-card-div">                            <img class="patient-tab-head" src="../../../app-resource/images/patient-search.png" />                            <span style="font-weight: normal !important; width: 100% !important; font-size: 16px !important; ">我的患者</span>                        </div>                    </div>                </tab-heading>            </a>        </li>        <li ng-click="selectTab(\'patientRelationship.patientSearch\')"            ng-class="{\'active\':$root.currentState===\'patientRelationship.patientSearch\'}"            ng-if="isAdminOffice">            <a>                <tab-heading>                    <div class="patient-query">                        <div style="margin-right:55px;line-height:41px;text-align:right;" class="name-card-div">                            <img class="patient-tab-head" src="../../../app-resource/images/patient-search.png" />                            <span style="font-weight: normal !important; width: 100% !important; font-size: 16px !important; ">我的客户</span>                        </div>                    </div>                </tab-heading>            </a>        </li>        <li ng-click="selectTab(\'patientRelationship.revisit\')"            ng-class="{\'active\':$root.currentState===\'patientRelationship.revisit\'}"            ng-if="isAdminOffice">            <a>                <tab-heading>                    <div class="patient-query">                        <div style="margin-right:55px;line-height:41px;text-align:right;" class="name-card-div">                            <img class="patient-tab-head" src="../../../app-resource/images/patient-search.png" />                            <span style="font-weight: normal !important; width: 100% !important; font-size: 16px !important; ">回访管理</span>                        </div>                    </div>                </tab-heading>            </a>        </li>        <tab ng-repeat="tab in patientTabManager.tabs" id="pid_{{tab.patient.id}}" active="tab.active" disabled="tab.disabled" ng-click="selectTab(tab)">            <tab-heading>                <div ng-mouseover="onItemMouseHover(tab)" ng-mouseleave="onItemMouseLeave(tab)">                    <div style="margin-right:25px;" class="name-card-div">                        <ares-patient-namecard patient="tab.patient"></ares-patient-namecard>                    </div>                    <span ng-click="closeTab(tab)" ng-show="tab.patient.isItemHover"                          style="position:absolute;top:7px;right:7px;color:#00A8CB !important;cursor:pointer;"                          class="icon-close patient-nav-bar-btn"></span>                    <div ares-click="checkInPatient(tab)"                         ng-show="tab.patient.isItemHover && !tab.patient.isArchived&&!isAdminOffice&&isOfficePatient"                         title="挂号"                         ares-authorize="patientMgmt.checkIn"                         class="check-in"></div>                </div>            </tab-heading>        </tab>    </tabset></div>');})();